/**
 * 
 */
package com.google.code.pos.service;

import com.google.code.pos.domain.Item;
import java.util.List;
import javax.sql.DataSource;

/**
 * @author jimmy
 *
 */
public interface JdbcService {

    public void setConnection(DataSource dbSource);

    public void saveOrUpdateItem(Item item);

    public void deleteItem(Item item);

    public List<Item> findAllItem();

    public List<Item> findItemsByName(String name);

}
